package com.angus.modules.content.service;

import com.angus.modules.content.dto.CreateOrderDto;
import com.angus.modules.content.dto.QueryOrderDto;
import com.angus.modules.content.vo.CommonVo;
import com.angus.modules.content.vo.SysOrderVo;

import java.util.List;

public interface SysOrderService {

    CommonVo<SysOrderVo> getOrderList(QueryOrderDto dto, Long userId);

    List<SysOrderVo> getPendingOrderList(String courseCode, Long userId);

    SysOrderVo createOrder(CreateOrderDto dto, Long userId);

    Boolean deleteByIds(List<Long> ids);
}
